package com.imooc.socialecom.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imooc.socialecom.pojo.Item;
import com.imooc.socialecom.pojo.Sku;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author socialecom
 * @since 2024-09-24
 */
public interface ItemService extends IService<Item> {

    Sku createSku(Sku sku);

    Item getItem(Long id, Long shopId);

    List<Item> search(String name, Long shopId) throws IOException;

}
